<template>

    <div class="py-6 px-8 flex justify-between items-center c">
        <div>
            <h3>{{ title }}</h3>
            <p>{{ subTitle }}</p>
        </div>
        <div>
            <slot name="btn"></slot>
        </div>


    </div>
</template>
<style scoped>
.c {
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
    border-radius: 10px;
    background: #fff;
}

p {
    color: #303030;
    margin-bottom: 0;
    margin-top: 15px;
}
</style>
<script setup>
defineProps({
    title: {
        type: String,
        default: '我的试卷'
    },
    subTitle: {
        type: String,
        default: '您累积服务客户：13，正在服务的客户：12'
    }
})
</script>